28 #ifndef __D3D11GpuProgram_H_
29 #define __D3D11GpuProgram_H_
118 if (pRep == static_cast<D3D11GpuProgram*>(r.
getPointer()))
D3D11GpuProgramPtr(const D3D11GpuProgramPtr &r)
ID3D11PixelShader * getPixelShader(void) const
Gets the pixel shader.
void loadImpl(void)
Internal implementation of the meat of the 'load' action, only called if this resource is not being l...
virtual void loadFromMicrocode(ID3D10Blob *microcode)=0
Internal method to load from microcode, must be overridden by subclasses.
ID3D11PixelShader * mPixelShader
void loadFromMicrocode(ID3D10Blob *microcode)
Internal method to load from microcode, must be overridden by subclasses.
D3D11GpuProgram(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader, D3D11Device &device)
Defines a program which runs on the GPU such as a vertex or fragment program.
Interface describing a manual resource loader.
void unloadImpl(void)
Internal implementation of the 'unload' action; called regardless of whether this resource is being l...
D3D11GpuFragmentProgram(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader, D3D11Device &device)
void unloadImpl(void)
Internal implementation of the 'unload' action; called regardless of whether this resource is being l...
Direct3D implementation of low-level fragment programs.
ID3D11VertexShader * mVertexShader
void loadFromMicrocode(ID3D10Blob *microcode)
Internal method to load from microcode, must be overridden by subclasses.
ID3D11VertexShader * getVertexShader(void) const
Gets the vertex shader.
~D3D11GpuFragmentProgram()
void loadFromSource(void)
Overridden from GpuProgram.
unsigned long long int ResourceHandle
#define OGRE_LOCK_MUTEX(name)
Direct3D implementation of low-level vertex programs.
Defines a generic resource handler.
unsigned int * useCountPointer() const
Specialisation of SharedPtr to allow SharedPtr to be assigned to D3D11GpuProgramPtr.
Reference-counted shared pointer, used for objects where implicit destruction is required.
D3D11GpuVertexProgram(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader, D3D11Device &device)
D3D11GpuProgramPtr & operator=(const ResourcePtr &r)
Operator used to convert a ResourcePtr to a D3D11GpuProgramPtr.
D3D11GpuProgramPtr(const ResourcePtr &r)
D3D11GpuProgramPtr(D3D11GpuProgram *rep)
Direct3D implementation of a few things common to low-level vertex & fragment programs.
#define OGRE_COPY_AUTO_SHARED_MUTEX(from)